home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / g1emmnos.zip / ETC / AUTOEXEC.NET next >
Text File  |  1990-11-12  |  17KB  |  595 lines

  1. #            A U T O E X E C . N E T
  2. #            -----------------------
  3. #
  4. #  This is the configuration file for the NOS.EXE program...
  5. #  this file *MUST* be in the root directory ( \ ) of your current disk
  6. #  when NOS.EXE is run if you want NOS to use is as the default file.
  7. #
  8. #  Note: NOS.EXE ignores all lines beginning with a pound sign (#).
  9. #
  10. #    There are many commands which must be provided to NOS.EXE
  11. #    each time it is started to configure the program.  To keep
  12. #    from having to type them by hand each time, we put them in
  13. #    this file, which is read each time NOS starts up.  Commands
  14. #    in this configuration file are entered exactly as they would
  15. #    be typed at the keyboard in the program.
  16. #
  17. #    We've tried to give you intelligent default values for each of
  18. #    the commands below.  You need to read completely through this
  19. #    file, changing things as you go.  If you're not sure what to
  20. #    do with a command, try leaving it like it is!  Once you become
  21. #    familiar with the package, you'll no doubt find things to change.
  22. #    Once you're up and running and are all set, you can delete some or
  23. #    all of the comment lines (the ones that start with '#') to save
  24. #    disk space and make the program load faster, if you wish.
  25. #
  26. #-----------------------------------------------
  27. #
  28. #    Turn off the internal stopwatch functions as on the Archimedes they
  29. #    don't half hassle the pc emulators speaker driver code..and it BEEPS!
  30. #
  31. watch off
  32. #
  33. #-----------------------------------------------
  34. #
  35. #    Just in case we don't have a host name entry in our domain file
  36. #    let's ask our domain server at g1emm2 to try and resolve unknowns.
  37. #
  38. # domain addserver g1emm2
  39. #
  40. #
  41. # Set the number of domain.txt entries we are going to cache at any one
  42. # time in memory. This will affect the memory/speed tradeoff.
  43. #
  44. domain cache size 30
  45. #
  46. #-----------------------------------------------
  47. #
  48. # The Domain default suffix for host names without a '.' is '.ampr.org.'
  49. # and the domain.txt file has only names of the format:-
  50. # <host>.ampr. (CNAME) and <host>.ampr.org. (A) in it.
  51. #
  52. domain suffix ampr.org.
  53. #
  54. #-----------------------------------------------
  55. #
  56. # Set the domain ip->hostname translation into operation in non verbose mode
  57. #
  58. domain translate y
  59. #
  60. domain verbose n
  61. #
  62. #-----------------------------------------------
  63. #
  64. # This entry tells NOS.EXE the name of your machine. Your hostname will
  65. # show up in mail headers, etc.
  66. #
  67. hostname g1emm.ampr.org
  68. #
  69. #-----------------------------------------------
  70. #
  71. # The next line does the same thing that "MYCALL" did in your AX.25
  72. # TNC... it identifies the callsign you're using on the air in AX.25
  73. # packets. It also defines the callsign of your net/rom node!!!
  74. #
  75. ax25 mycall g1emm-1
  76. #
  77. #-----------------------------------------------
  78. #
  79. # This one contains your IP address. This can either be in the form 
  80. # [44.131.x.y] where x and y are your alloted number values or it can
  81. # use the domain file information and will then take a symbolic node 
  82. # name and convert it internally to your IP address. The [] are required
  83. # if you wish to give an absolute address.
  84. #
  85. ip address g1emm
  86. #
  87. #-----------------------------------------------
  88. #
  89. # The next memory commands set the number of buffers and thier sizes in
  90. # the interrrupt memory handler cache. Ax25 doesn't use them at all
  91. # but just in case, here is one.
  92. #
  93. mem ibufsiz 256
  94. #
  95. mem nibufs 1
  96. #
  97. #------------------------------------------------
  98. #
  99. # The attach command tells NOS.EXE about the interfaces in your computer
  100. # that you will be using for TCP/IP.  These can include normal IBM-type
  101. # serial "comm ports", Ethernet controllers, or dedicated packet cards.
  102. #
  103. # The syntax is:
  104. # attach <hw type> <I/O address> <vector> <mode> <label> <bufsize>
  105. #        <mtu> [<speed>] [IP addr]
  106. #
  107. # COM1: / 9600 baud KISS connection for use with KISS TNC's.
  108. #
  109. attach asy 0x3f8 4 ax25 tnc 2048 256 9600 c
  110. #
  111. # COM2: / 1200 baud KISS connection for use with KISS TNC's.
  112. #
  113. # attach asy 0x2f8 3 ax25 tnc 2048 256 1200 
  114. #
  115. # COM1: / 9600 baud slip link to another computer
  116. #
  117. # attach asy 0x3f8 4 slip sl0 8092 576 9600 
  118. #
  119. #-------------------------------------------------
  120. #
  121. # The following entry defines the broadcast address for
  122. # the interface labeled 'tnc' in the attach command.
  123. #
  124. ifconfig tnc broadcast uk.ampr.org
  125. #
  126. #-------------------------------------------------
  127. #
  128. # The KISS computer-to-tnc protocol includes a "command packet" that
  129. # you can use to twiddle TNC parameters like TXDELAY, TXTAIL, PERSIST,
  130. # SLOTTIME and DUPLEX.  Since most KISS implementations include good
  131. # default values, you shouldn't have to use this feature.
  132. # All TNC's were not created equal, so you *MUST* read the docs for the
  133. # KISS implementation for your TNC before twiddling!
  134. #
  135. # The format is:  param <label> <hex value> <hex value> <hex value> ...
  136. #
  137. # TX - Delay    (10ms units)
  138. param tnc 1 60
  139. # Persistance   (1/256th units)
  140. param tnc 2 32
  141. # Slot time     (10ms units)
  142. param tnc 3 20
  143. # TX-tail Delay (10ms units)
  144. param tnc 4 20
  145. # Duplex        (0=csma, 1=full)
  146. param tnc 5 0
  147. #
  148. #-------------------------------------------------
  149. #
  150. # The following entry tells the program to route all packets out
  151. # the interface labeled 'tnc' in the attach command.
  152. #
  153. route addprivate default tnc
  154. #
  155. #-------------------------------------------------
  156. #
  157. # Time To Live is the maximum number of hops a packet can take
  158. # before it is thrown away. This command prevents an inadvertent
  159. # infinite loop from occuring with packets in the network.
  160. #
  161. ip ttl 16
  162. #
  163. #-------------------------------------------------
  164. #
  165. # The Maximum Segment Size is the largest single transmission that
  166. # you will send. An mss of 216 corresponds to the mtu of 256 set
  167. # up in the attach command above, overhead bytes considered.
  168. #
  169. tcp mss 216
  170. #
  171. #-------------------------------------------------
  172. #
  173. # Initial Retry TimeouT (irtt) is the time between retries before
  174. # the corrected timers start to function in units of seconds.
  175. # The default is 65 seconds but may be adjusted as required.
  176. #
  177. tcp irtt 5000
  178. #
  179. #-------------------------------------------------
  180. #
  181. # The TCP timer backoff can be either linear or binary exponential.
  182. # Realisically, the linear backoff is vital for Amateur radio work.
  183. #
  184. tcp timertype linear
  185. #
  186. #-------------------------------------------------
  187. #
  188. # The Window parameter establishes the maximum number of bytes
  189. # that may be outstanding before your system expects an ack.
  190. # If window is twice as big as mss, for example, there will be two
  191. # active packets on the channel at any given time... large values of
  192. # window provide improved throughput on full-duplex links, but are a
  193. # problem on the air.  Keep  mss <= window <= 2*mss if you're on the air.
  194. #
  195. #
  196. tcp window 216
  197. #
  198. #-------------------------------------------------
  199. #
  200. # This entry will open 'logfile' in the \spool directory and will
  201. # record the server activity of your system.  If you don't want a log,
  202. # comment out this line... if you do, make sure you have a \spool
  203. # directory!
  204. #
  205. log \spool\logfile
  206. #
  207. #-------------------------------------------------
  208. #
  209. # Each of the servers (services you will provide) must be turned
  210. # on before they will be active. The following entries turn all
  211. # of them on. To turn any function off use the command 'stop' after
  212. # NOS gets fired up, or just comment out the line here.
  213. #
  214. start ax25
  215. start netrom
  216. start echo
  217. start discard
  218. start telnet
  219. start ftp
  220. start smtp
  221. start finger
  222. start remote
  223. start ttylink
  224. start pop
  225. # start rip
  226. #
  227. #--------------------------------------------------
  228. #
  229. # Cause the SMTP server to look for new mail to send every 10 minutes
  230. #
  231. smtp timer 600
  232. #
  233. #--------------------------------------------------
  234. #
  235. # Set the remote server password field
  236. #
  237. remote -s dummy
  238. #
  239. #--------------------------------------------------
  240. #
  241. # Cause the SMTP server to send undeliverable mail to gb3xp for forwarding
  242. #
  243. smtp gateway gb3xp
  244. #
  245. #--------------------------------------------------
  246. #
  247. # Cause the SMTP server to queue mail for SMTP mailer or ext. mailer
  248. #
  249. smtp mode route
  250. #
  251. #--------------------------------------------------
  252. #
  253. # These values come into play when you are operating in the
  254. # AX.25 mode, along with your ax25 mycall entry above.
  255. #
  256. # If you want to operate as a digipeater (for those poor souls
  257. # not operating TCP/IP!), change 'off' to 'on'.
  258. #
  259. ax25 digipeat on
  260. #
  261. #-------------------------------------------------
  262. #
  263. # Use AX25 protocol version 2 as most people have now migrated from 1.
  264. #
  265. ax25 version 2
  266. #
  267. #---------------------------------------------------
  268. #
  269. # Maxframe sets the max number of frames allowed to remain
  270. # unacknowledged. Cannot be greater than 7. Low values are best.
  271. #
  272. ax25 maxframe 2
  273. #
  274. #---------------------------------------------------
  275. #
  276. # Maximum size of packet which will have its data resent with the POLL
  277. # bit set on retry, else, just RR (p) instead of I (p)
  278. #
  279. ax25 pthresh 128
  280. #
  281. #---------------------------------------------------
  282. #
  283. # Paclen limits the size of I=fields.
  284. #
  285. ax25 paclen 256
  286. #
  287. #---------------------------------------------------
  288. #
  289. # Retry limits the number of unsuccessful retransmissions.
  290. #
  291. ax25 retry 5
  292. #
  293. #---------------------------------------------------
  294. #
  295. # Set up the AX25 initial round-trip timer in milliseconds.
  296. # The old T1 value is now taken to be 2*irtt and is variable.
  297. #
  298. ax25 irtt 2500
  299. #
  300. #---------------------------------------------------
  301. #
  302. # Set up the AX25 Link Keep-Alive timer T3 in milli-seconds.
  303. #
  304. ax25 t3 65000
  305. #
  306. #---------------------------------------------------
  307. #
  308. # Set up the AX25 Link Redundancy timer T4 in seconds.
  309. #
  310. ax25 t4 300
  311. #
  312. #-------------------------------------------------
  313. #
  314. # The AX25 timer backoff can be either linear or binary exponential.
  315. # Realisically, the linear backoff is vital for Amateur radio work.
  316. #
  317. ax25 timertype linear
  318. #
  319. #---------------------------------------------------
  320. #
  321. # ax25 window sets the number of bytes that can be pending on an
  322. # AX.25 receive queue before sending RNRs back to sender.
  323. #
  324. ax25 window 2048
  325. #
  326. #---------------------------------------------------
  327. #
  328. # Set up the ax25 beacon text and broadcast interval
  329. #
  330. ax25 bctext "G1EMM - Tcp/Ip station - 44.131.7.6 - IO91oe"
  331. #
  332. ax25 bcinterval 1799
  333. #
  334. #---------------------------------------------------
  335. #
  336. # Start tracing the previously defined `tnc' line with 111 which is
  337. # trace all input and output packets and dump in ASCII only.
  338. # Value pattern is:-
  339. #    B:D:I:O
  340. #    | | | |__Output packets    0 or 1        1 = trace / 0 = don't
  341. #    | | |____Input packets    0 or 1        1 = trace / 0 = don't
  342. #    | |______Dump level    0 or 1 or 2    0=headers / 1=ascii / 2=hex
  343. #    |________Broadcasts    0 or 1        0 = trace / 1 = don't
  344. #            
  345. #
  346. #trace tnc 0111
  347. #
  348. #---------------------------------------------------
  349. #
  350. # Set up the NET/ROM pseudo device so that NOS knows that netrom is used.
  351. #
  352. attach netrom
  353. #
  354. #---------------------------------------------------
  355. #
  356. # Tell NET/ROM what line to use and what we are called, ie. our alias.
  357. # Also define a default quality factor for incoming NET/ROM broadcasts.
  358. #
  359. netrom interface tnc farnhm 10
  360. #
  361. #---------------------------------------------------
  362. #
  363. # Set NET/ROM broadcast reception to only specifically named nodes.
  364. #
  365. netrom nodefilter mode accept
  366. #
  367. #---------------------------------------------------
  368. #
  369. # Set the NET/ROM inter-broadcast time to 30 minutes
  370. #
  371. netrom nodetimer 1800
  372. #
  373. #---------------------------------------------------
  374. #
  375. # Set the NET/ROM obsolesence timer to 20 minutes. Each time it fires
  376. # we will derate the nodes in our tables. A non-refreshed node broadcast
  377. # will vanish in about 2 hours then. This may reduce garbage faster?!
  378. #
  379. netrom obsotimer 1200
  380. #
  381. #---------------------------------------------------
  382. #
  383. # Set NET/ROM mode to switch rather then endpoint. We will tell the world
  384. # about the nodes we can hear and not just ourself.
  385. #
  386. netrom verbose yes
  387. #
  388. #---------------------------------------------------
  389. #
  390. # Set NET/ROM minimum acceptable incoming broadcast level before we will
  391. # build the nodes into our tables. Keeps out longshots!
  392. #
  393. netrom minquality 10
  394. #
  395. #---------------------------------------------------
  396. #
  397. # NET/ROM Time To Live is the maximum number of hops a packet can take
  398. # before it is thrown away. This command prevents an inadvertent
  399. # infinite loop from occuring with packets in the netrom network.
  400. #
  401. netrom ttl 15
  402. #
  403. #---------------------------------------------------
  404. #
  405. # Set NET/ROM acknowledge timer value in milliseconds
  406. #
  407. netrom acktime 3000
  408. #
  409. #---------------------------------------------------
  410. #
  411. # Set NET/ROM maximum number of bytes on the netrom queues (I think!)
  412. #
  413. netrom qlimit 1024
  414. #
  415. #---------------------------------------------------
  416. #
  417. # Set NET/ROM maximum number of retries before disconnecting 
  418. #
  419. netrom retries 5
  420. #
  421. #---------------------------------------------------
  422. #
  423. # Set NET/ROM initial round-trip timer in milli-seconds.
  424. #
  425. netrom irtt 5000
  426. #
  427. #---------------------------------------------------
  428. #
  429. # Set NET/ROM promiscuous acceptance of broadcasts at minimum quality.
  430. #
  431. netrom promiscuous y
  432. #
  433. #-------------------------------------------------
  434. #
  435. # The NET/ROM timer backoff can be either linear or binary exponential.
  436. # Realisically, the linear backoff is vital for Amateur radio work.
  437. #
  438. netrom timertype linear
  439. #
  440. #---------------------------------------------------
  441. #
  442. # Let the world know that we are alive and kicking. Three broadcasts 
  443. # just to make sure that most people will be able to catch one of them!
  444. #
  445. netrom bcnodes tnc
  446. #
  447. #---------------------------------------------------
  448. #
  449. # Use I frames for ax25 traffic instead of UI frames.
  450. #
  451. mode tnc vc
  452. #
  453. #---------------------------------------------------
  454. #
  455. # Use I frames for NET/ROM traffic instead of UI frames. (Is there a choice?)
  456. #
  457. mode netrom vc
  458. #
  459. #---------------------------------------------------
  460. #
  461. # Initial state of the system is that the is no manual operator present.
  462. #
  463. attended no
  464. #
  465. #---------------------------------------------------
  466. #
  467. # Initial state of the mailbox is that the is no manual operator present.
  468. #
  469. mbox attend no
  470. #
  471. #---------------------------------------------------
  472. #
  473. # Bring in all the variable parameters relating to the outside world.
  474. #
  475. # First bring in all the remote NET/ROM nodes for filtering.
  476. #
  477. source /etc/nodes.fil
  478. #
  479. # Next bring in all the remote Tcp/Ip nodes ARP definitions.
  480. #
  481. source /etc/nodes.arp
  482. #
  483. # Next bring in all the AX25 route and modes definitions.
  484. #
  485. source /etc/nodes.axr
  486. #
  487. # Lastly bring in all the remote Tcp/Ip nodes route definitions.
  488. #
  489. source /etc/nodes.rou
  490. #
  491. #---------------------------------------------------
  492. #
  493. # Define the RIP setup and request a broadcast to load the tables.
  494. #
  495. # rip merge n
  496. #
  497. # rip add uk.ampr.org 900 6
  498. #
  499. # rip refuse g4hpe
  500. # rip refuse g1maa
  501. # rip refuse g6vug
  502. # rip refuse g6kqz
  503. # rip refuse g3rra
  504. # rip refuse g4bio
  505. # rip refuse g1wkk
  506. # rip refuse g6xqb
  507. # rip refuse g1plt
  508. # rip refuse g4uqe
  509. # rip refuse g8ogr
  510. # rip refuse g0hwc
  511. #
  512. # rip request uk.ampr.org
  513. #
  514. #---------------------------------------------------
  515. #
  516. # Define the RSPF setup 
  517. #
  518. rspf interface tnc 8 32
  519. #
  520. rspf rrhtimer 900
  521. #
  522. rspf suspecttimer 2000
  523. #
  524. rspf timer 900
  525. #
  526. rspf message "RSPF routing in use. RIP disabled!"
  527. #
  528. #---------------------------------------------------
  529. #
  530. # Set up the hop check (route tracer) environment.
  531. #
  532. hopcheck maxw 60
  533. #
  534. hopcheck maxt 10
  535. #
  536. hopcheck q 2
  537. #
  538. #---------------------------------------------------
  539. #
  540. # Get Every NOS node in range to emit their netrom broadcasts
  541. # to load our tables. Very heavy on bandwidth!!!
  542. #
  543. remote uk.ampr.org kick
  544. #
  545. #---------------------------------------------------
  546. #
  547. # Wake up the SMTP process to start shipping any outstanding mail.
  548. #
  549. smtp kick
  550. #
  551. #---------------------------------------------------
  552. #
  553. # Wake up the POP process to start shipping any outstanding mail.
  554. #
  555. pop mailbox g1emm
  556. #
  557. pop userdata g1emm kelvin
  558. #
  559. pop mailhost g3rra.ampr.org
  560. #
  561. pop kick
  562. #
  563. pop mailhost g1wkk.ampr.org
  564. #
  565. pop kick
  566. #
  567. #---------------------------------------------------
  568. #
  569. # Disallow third-party mail as we have no license to accept it.
  570. #
  571. third-party n
  572. #
  573. #---------------------------------------------------
  574. #
  575. # Change to the /pub/tmp directory to allow temp files to be build there.
  576. #
  577. cd /pub/tmp
  578. #
  579. #---------------------------------------------------
  580. #
  581. # set the system wide message of the day 
  582. #
  583. motd "If I'm not about, please leave a message in the mailbox. 73, Kelv."
  584. #
  585. #---------------------------------------------------
  586. #
  587. # set the mailbox / bbs message of the day
  588. #
  589. mbox motd "If the station is unattended, please feel free to leave a message. 73, Kelv."
  590. #
  591. #---------------------------------------------------
  592. #
  593. # THE END
  594. #
  595.